package com.ruoyi.yfdw.service.impl;

import com.ruoyi.yfdw.domain.DictDetail;
import com.ruoyi.yfdw.mapper.DictDetailMapper;
import com.ruoyi.yfdw.service.iDictDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author : zll
 * @date : 2024/11/24 21:51/**
 * @BelongsProject: ruoyi
 * @BelongsPackage: com.ruoyi.yfdw.service.impl
 * TODO : 字典明细实现接口
 * @Author: zll
 * @CreateTime: 2024/11/24 21:51
 * @Version 1.0
 **/
@Service
public class DictDetailServiceImpl implements iDictDetailService {




    @Autowired
    private DictDetailMapper dictDetailMapper;

    /**
     * TODO : 根据字典分组代码和字典代码
     *
     * @param dictGroupCode 字典分组代码
     * @param dictCode      字典代码
     * @return com.ruoyi.yfdw.domain.DictDetail
     * @Author: zll
     * @Date: 2024/11/24 21:57
     **/
    @Override
    public List<DictDetail> getDictDetailByDictGroupCodeAndDictCode(String dictCode) {
        return dictDetailMapper.getDictDetailByDictGroupCodeAndDictCode(dictCode);
    }
}
